package service.impl;

import dao.StudentDao;
import dao.impl.StudentDaoImpl;
import pojo.Student;
import service.StudentService;

import java.util.List;

public class StudentServiceImpl implements StudentService {

    private StudentDao studentDao = new StudentDaoImpl();

    @Override
    public List<Student> searchStudents() {
        return studentDao.searchStudents();
    }
}
